﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;

namespace pandx.Mulan.Dictionaries
{
    [Table("DictionaryCategories")]
    public class DictionaryCategory:FullAuditedEntity<long>,IMayHaveTenant
    {
        public int? TenantId { get; set; }
        [Required]
        [StringLength(256)]
        public string Code {get;set;}

        [Required]
        [StringLength(256)]
        public string Name {get;set;}

        public DictionaryCategory()
        {
            Code = "";
            Name = "";
        }
    }
}
